package org.farms.units;

public class FarmUnit {
	private int coordinateX;
	private int coordinateY;
	private int population;
	private String type;
	
	public FarmUnit(String name, int X, int Y, int population) {
		this.setCoordinateX(X);
		this.setCoordinateY(Y);
		this.setPopulation(population);
		this.type = name;
	}

	public String getType() { 
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public int getCoordinateX() {
		return coordinateX;
	}

	public void setCoordinateX(int coordinateX) {
		this.coordinateX = coordinateX;
	}

	public int getCoordinateY() {
		return coordinateY;
	}

	public void setCoordinateY(int coordinateY) {
		this.coordinateY = coordinateY;
	}

	public int getPopulation() {
		return population;
	}

	public void setPopulation(int population) {
		this.population = population;
	}
	
}
